Skip to content

components: remove defaultProps from components#299

Open
mirekys wants to merge 1 commit into
inveniosoftware:masterfrom
oarepo:mirekys/deprecate-default-props
Open

components: remove defaultProps from components#299
mirekys wants to merge 1 commit into
inveniosoftware:masterfrom
oarepo:mirekys/deprecate-default-props

Conversation

@mirekys
Copy link
Copy Markdown

@mirekys mirekys commented Apr 29, 2026

Requires:

Part of: inveniosoftware/rfcs#112

Checklist

Frontend

@mirekys mirekys requested a review from zzacharo April 29, 2026 14:26
@mirekys mirekys changed the title components: deprecate defaultProps on function components components: remove defaultProps from components Apr 29, 2026
@mirekys mirekys added this to v14 Apr 29, 2026
* React 18 deprecates defaultProps on function
  components, spamming the console with deprecation notices.
* Replace `defaultProps` with ES6 default param
  syntax across affected components.
@mirekys mirekys force-pushed the mirekys/deprecate-default-props branch from 0009115 to d46dd3f Compare April 29, 2026 15:48
@mirekys mirekys moved this to 🏗 In progress in v14 May 5, 2026
@mirekys mirekys self-assigned this May 6, 2026
@mirekys mirekys mentioned this pull request May 6, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

1 participant